package org.xxx.epms.result.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.xxx.epms.result.models.GridProvince;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lb
 * @since 2024-06-08
 */
public interface GridProvinceService extends IService<GridProvince> {

    /**
     * 根据id获取省份信息
     * @param provinceId
     * @return
     */
    GridProvince getGridProvinceById(Integer provinceId);

    /**
     * 获取所有省份信息
     * @return
     */
    List<GridProvince> getAllGridProvinces();

    /**
     * 添加省份信息
     * @param gridProvince
     */
    void addGridProvince(GridProvince gridProvince);
}
